﻿using B.S.RbacData.ErrorCode;
using MediatR;

namespace B.S.RbacData.Write.API.Applications.Commands.Traceabilitys.Slaughters
{
    /// <summary>
    /// 添加屠宰企业信息命令
    /// </summary>
    public class AddSlaughterCorporateCommand:IRequest<ApiResult<int>>
    {

        /// <summary>
        /// 公司名称
        /// </summary>
        public string CompanyName { get; set; } = null!;

        /// <summary>
        /// 公司详细地址
        /// </summary>
        public string CompanyArrdess { get; set; } = null!;

        /// <summary>
        /// 成立时间
        /// </summary>
        public DateTime EstablishmentTime { get; set; }

        /// <summary>
        /// 公司简介
        /// </summary>
        public string CompanyProfile { get; set; } = null!;

      
        /// <summary>
        /// 溯源编号
        /// </summary>
        public int ProductId { get; set; }


    }
}
